<template>
  <div class="container">子组件接收父组件传递数据:{{ info }} {{ money }}元</div>
</template>
<script setup lang="ts">
const props = defineProps(['info', 'money'])
</script>

<style scoped>
.container {
  width: 200px;
  height: 200px;
  background: lightcoral;
}
</style>
